<script type="text/javascript">

	var tabstyle = {fontSize: "0.72em", 
					color: "black",
			 		backgroundColor: "#C1E0A0", 
			 		marginLeft: "4px", 
			 		width: "157px"
			 		};

	var tablist = [ new Tab("Your interests",tabstyle),
	                new Tab("Pages you've liked",tabstyle),
	                new Tab("Account settings",tabstyle)
	    		  ];
	var tabs = new TabsContainer(tablist, $("pagetabs"), '/<%= request.getRequestURI().split("/")[1] %>/');
	<% 
		if (session.getAttribute("force") != null){		
	%>	
			tabs.drawContainer("<%= (String) session.getAttribute("force") %>");
	<%
			session.removeAttribute("force");
		}
		else{
	%>
			tabs.drawContainer();
	<%
		}
	%>
	$("pagetitle").update("Profile");
	

</script>

